package com.hh.releasenode.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName SysUserForm
 * @Description 系统用户Form
 * @Author KunxianLi
 * Date 2020/8/7 15:21
 * Version 1.0
 **/
@Data
@ApiModel("系统用户Form")
public class SysUserForm {

    @ApiModelProperty(name = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty(name = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(name = "昵称")
    private String nickName;

    @ApiModelProperty(name = "手机号")
    private String mobile;

    @ApiModelProperty(name = "邮箱")
    private String email;

    @ApiModelProperty(name = "头像url")
    private String iconUrl;

}
